package logic.sendingdevices;

import java.util.ArrayList;
import java.util.Scanner;

import Logic.main.VirtualHouse;

public abstract class SendingDevice {

	protected String id;
	protected ArrayList<String> cmds;
	protected Scanner sc;
	private VirtualHouse vh;
	
	public SendingDevice(VirtualHouse vh) {
		this.vh=vh;
	}
	public boolean isRecipient(String id) {
		if( this.id.equals(id))
			return true;
		return false;
	}
	
	public abstract String SendMessage();
	public abstract String receiveAndRespond(String cmd);
	public abstract String check();
	public abstract String test();
}